package bean;

public class OrderItem {
    private Integer order_id;
    private Integer product_id;
    private Integer buynum;

    @Override
    public String toString() {
        return "OrderItem{" +
                "order_id=" + order_id +
                ", product_id=" + product_id +
                ", buynum=" + buynum +
                '}';
    }

    public OrderItem(Integer order_id, Integer product_id, Integer buynum) {
        this.order_id = order_id;
        this.product_id = product_id;
        this.buynum = buynum;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public Integer getBuynum() {
        return buynum;
    }

    public void setBuynum(Integer buynum) {
        this.buynum = buynum;
    }

    public OrderItem() {
    }
}
